package com.lagou.executor;



import com.lagou.pojo.MappedStatement;

import java.util.List;

/**
 * @Description:
 * @author liujunling
 * @date 2020/3/31
 */
public interface Executor {
    <T> List<T> query(MappedStatement mappedStatement, Object... params) throws Exception;

    int update(MappedStatement mappedStatement, Object... params) throws Exception;
}
